package com.qidian.mes.pojo;

import java.util.List;

/**
 * @Author 小可怎么都睡不够
 * @Company 起点编程
 * @Description 菜单类
 * @Time 2024/4/3 14:26
 */
public class Menu {
    private Long id;
    private String name;
    private String title;
    private String path;
    private String icon;
    private Long parentId;
    private Integer order;
    private List<Menu> children;

//    private Boolean hasChildren = false;
//
//    public Boolean getHasChildren() {
//        return hasChildren;
//    }
//
//    public void setHasChildren(Boolean hasChildren) {
//        this.hasChildren = hasChildren;
//    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<Menu> getChildren() {
        return children;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }
}
